package day1001;

import java.util.Scanner;

public class Test {
	//Person
	//Man  Woman
	public static void main(String[] args) {	
		Person ren = new Man();
		ren.a();
		Man woman1 = (Man)ren;
		Scanner sc = new Scanner(System.in);
		int num = sc.nextInt();
		if(num == 1) {
			Man man = new Man();
			man.a();
		}else {
			Woman woman = new Woman();
			woman.a();
		}
		

	}

}
